import { request } from '@umijs/max';



export async function get_map(key:string):Promise<BackendResponse<any>>  {
    return request(`/admin-api/system/dict-data/getMapOptions`, {
        method: 'GET',
        params: {
            type: key,
        }
    });
}